/*
 * @Author: your name
 * @Date: 2021-01-22 16:44:27
 * @LastEditTime: 2021-01-22 16:57:09
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \qiankun-react\src\index.js
 */
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';

function render() {
    ReactDOM.render( <
        React.StrictMode >
        <
        App / >
        <
        /React.StrictMode>,
        document.getElementById('root')
    );
}
if (!window.__POWERED_BY_QIANKUN__) {
    render();
}
export async function bootstrap() {

}
export async function mount() {
    render()
}
export async function unmount() {
    ReactDOM.unmountComponentAtNode(document.getElementById('root'));
}